package com.itheima.test41;
//汽车类
public class autoMobile extends car{
    public autoMobile() {
    }

    public autoMobile(String breed, String value) {
        super(breed, value);
    }

    @Override
    public void run() {
        System.out.println("价值" + this.getValue() + "的" +this.getBreed() + "能跑");
    }
}
